package cn.wen.yaling.xo.dao;

import cn.wen.yaling.commons.entity.BlackListEntity;
import cn.wen.yaling.commons.entity.SysParamsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 
 * 
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:36
 */
@Mapper
@Component
public interface SysParamsDao extends BaseMapper<SysParamsEntity> {

    /**
     * 批量修改系统参数的配置
     * @param sysParamsIds
     * @param status
     * @return
     */
    boolean updateBatchSysParamsStatus(@Param("sysParamsIds") List<Integer> sysParamsIds, @Param("status") int status);
}
